#include "forest.h"

Forest::Forest() : Tree()
{}

Forest::Forest(QString str) : Tree(false, " (" + str + ")")
{}

QString Forest::ToParenthesisString() const {
    QString res = Tree::ToParenthesisString();
    return res.mid(2, res.length() - 3);
}
